<?php

namespace jzl\api\v1;

use jzl\Request;

class Weixin extends Request
{
    //获取公众号当天发文情况
    public function publish_today(array $data=[]){
        $this->type='GET';
        $this->path='/fbmain/monitor/v3/post_condition';

        $this->data= array_merge($this->data,$data);
        return $this->exec();
    }

    //获取公众号当天发文情况
    public function post_history(array $data=[]){
        $this->type='GET';
        $this->path='/fbmain/monitor/v3/post_history';

        $this->data= array_merge($this->data,$data);
        return $this->exec();
    }

    //获取文章详情(纯文本，不带html文章格式)
    public function article_detail(array $data=[]){
        $this->type='GET';
        $this->path='/fbmain/monitor/v3/article_detail';

        $this->data= array_merge($this->data,$data);
        return $this->exec();
    }

    //获取文章正文（带html文章格式）
    public function article_html(array $data=[]){
        $this->type='GET';
        $this->path='/fbmain/monitor/v3/article_html';

        $this->data= array_merge($this->data,$data);
        return $this->exec();
    }
}